import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '创建日期',
    align: "center",
    sorter: true,
    dataIndex: 'createTime'
  },
  {
    title: '快递名称',
    align: "center",
    sorter: true,
    resizable:true,
    dataIndex: 'logisticsCompanyName'
  },
  {
    title: '快递单号',
    align: "center",
    sorter: true,
    resizable:true,
    dataIndex: 'expressNo'
  },
  {
    title: '手机后四位(用于顺丰快递查询)',
    align: "center",
    sorter: true,
    resizable:true,
    dataIndex: 'mobile'
  },
  {
    title: '物流状态',
    align: "center",
    resizable:true,
    dataIndex: 'logisticsStatusDesc'
  },
  {
    title: '最新描述',
    align: "center",
    resizable:true,
    dataIndex: 'theLastMessage'
  },
  {
    title: '最新变更时间',
    align: "center",
    sorter: true,
    resizable:true,
    dataIndex: 'theLastTime'
  },
  {
    title: '备注',
    align: "center",
    resizable:true,
    dataIndex: 'remark'
  },
];

// 高级查询数据
export const superQuerySchema = {
  createTime: {title: '创建日期',order: 0,view: 'datetime', type: 'string',},
  logisticsCompanyName: {title: '快递名称',order: 1,view: 'text', type: 'string',},
  expressNo: {title: '快递单号',order: 2,view: 'text', type: 'string',},
  mobile: {title: '手机后四位',order: 3,view: 'text', type: 'string',},
  logisticsStatusDesc: {title: '物流状态',order: 4,view: 'text', type: 'string',},
  theLastMessage: {title: '最新描述',order: 5,view: 'text', type: 'string',},
  theLastTime: {title: '最新变更时间',order: 6,view: 'text', type: 'string',},
  remark: {title: '备注',order: 7,view: 'text', type: 'string',},
};
